package com.alpha.controller;

import com.alpha.service.TestQuartzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：wk
 * @Slogan：无论风雨，和自己一决胜负吧
 * @Create：2023/2/13/16:35
 * @Description：测试任务调度接口
 * @Version：1.0
 */
@RestController
@RequestMapping("/api/alpha/test")
public class TestQuartzController {

    @Autowired
    private TestQuartzService testQuartzService;

    @GetMapping("/testQuartz")
    public void testQuartz() {
        testQuartzService.testQuartz();
    }

}
